
.box-scale {
  position: relative;
  padding: 55px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

//节点整体
.node-wrap {
  display: inline-flex;
  width: 100%;
  flex-flow: column wrap;
  justify-content: flex-start;
  align-items: center;
  padding: 0 50px;
  position: relative;
  z-index: 1;

  //节点的小卡片
  .node-wrap-box {
    display: inline-flex;
    flex-direction: column;
    position: relative;
    width: 220px;
    min-height: 72px;
    //flex-shrink: 0;
    background: var(--el-bg-color-overlay);
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .1);

    //顶部小三角
    &:before {
      content: "";
      position: absolute;
      top: -12px;
      left: 50%;
      transform: translateX(-50%);
      width: 0;
      border-style: solid;
      border-width: 8px 6px 4px;
      border-color: rgb(202, 202, 202) transparent transparent;
      //background: #f6f8f9;
    }

    //标题
    .title {
      height: 24px;
      background-color: #cd9f32;
      color: #fff;
      padding-left: 16px;
      padding-right: 30px;
      border-radius: 4px 4px 0 0;
      position: relative;
      display: flex;
      align-items: center;
      .icon {

      }
      .close {

      }
    }

    .content {
        position: relative;
        padding: 15px;
      font-size: 14px;
    }

  }
}


//.node-wrap-box .title .icon {
//  margin-right: 5px;
//}
//
//.node-wrap-box .title .close {
//  font-size: 15px;
//  position: absolute;
//  top: 50%;
//  transform: translateY(-50%);
//  right: 10px;
//  display: none;
//}
//
//.node-wrap-box .content {

//}

//.node-wrap-box .content .placeholder {
//  color: #999;
//}

//.node-wrap-box:hover .close {
//  display: block;
//}

// 添加节点的样式
.add-node-btn-box {
  width: 240px;
  display: inline-flex;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  &:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    margin: auto;
    width: 2px;
    height: 100%;
    background-color: rgb(202, 202, 202);
  }
}

.add-node-btn {
  user-select: none;
  width: 240px;
  padding: 20px 0px 32px;
  display: flex;
  justify-content: center;
  flex-shrink: 0;
  flex-grow: 1;
}


.end-node {
  border-radius: 50%;
  font-size: 14px;
  color: rgba(25, 31, 37, .4);
  text-align: left;

  .end-node-circle {
    width: 10px;
    height: 10px;
    margin: auto;
    border-radius: 50%;
    background: #dbdcdc;
  }

  .end-node-text {
    margin-top: 5px;
    text-align: center;
  }
}
